﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001505 RID: 5381
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class WolfBroGamePickupBulletScRsp : IMessage<WolfBroGamePickupBulletScRsp>, IMessage, IEquatable<WolfBroGamePickupBulletScRsp>, IDeepCloneable<WolfBroGamePickupBulletScRsp>, IBufferMessage
	{
		// Token: 0x170043BD RID: 17341
		// (get) Token: 0x0600F0BB RID: 61627 RVA: 0x0028275B File Offset: 0x0028095B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<WolfBroGamePickupBulletScRsp> Parser
		{
			get
			{
				return WolfBroGamePickupBulletScRsp._parser;
			}
		}

		// Token: 0x170043BE RID: 17342
		// (get) Token: 0x0600F0BC RID: 61628 RVA: 0x00282762 File Offset: 0x00280962
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return WolfBroGamePickupBulletScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170043BF RID: 17343
		// (get) Token: 0x0600F0BD RID: 61629 RVA: 0x00282774 File Offset: 0x00280974
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return WolfBroGamePickupBulletScRsp.Descriptor;
			}
		}

		// Token: 0x0600F0BE RID: 61630 RVA: 0x0028277B File Offset: 0x0028097B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGamePickupBulletScRsp()
		{
		}

		// Token: 0x0600F0BF RID: 61631 RVA: 0x00282784 File Offset: 0x00280984
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGamePickupBulletScRsp(WolfBroGamePickupBulletScRsp other) : this()
		{
			this.wolfBroInfo_ = ((other.wolfBroInfo_ != null) ? other.wolfBroInfo_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600F0C0 RID: 61632 RVA: 0x002827D0 File Offset: 0x002809D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroGamePickupBulletScRsp Clone()
		{
			return new WolfBroGamePickupBulletScRsp(this);
		}

		// Token: 0x170043C0 RID: 17344
		// (get) Token: 0x0600F0C1 RID: 61633 RVA: 0x002827D8 File Offset: 0x002809D8
		// (set) Token: 0x0600F0C2 RID: 61634 RVA: 0x002827E0 File Offset: 0x002809E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo WolfBroInfo
		{
			get
			{
				return this.wolfBroInfo_;
			}
			set
			{
				this.wolfBroInfo_ = value;
			}
		}

		// Token: 0x170043C1 RID: 17345
		// (get) Token: 0x0600F0C3 RID: 61635 RVA: 0x002827E9 File Offset: 0x002809E9
		// (set) Token: 0x0600F0C4 RID: 61636 RVA: 0x002827F1 File Offset: 0x002809F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600F0C5 RID: 61637 RVA: 0x002827FA File Offset: 0x002809FA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as WolfBroGamePickupBulletScRsp);
		}

		// Token: 0x0600F0C6 RID: 61638 RVA: 0x00282808 File Offset: 0x00280A08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(WolfBroGamePickupBulletScRsp other)
		{
			return other != null && (other == this || (object.Equals(this.WolfBroInfo, other.WolfBroInfo) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600F0C7 RID: 61639 RVA: 0x00282858 File Offset: 0x00280A58
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.wolfBroInfo_ != null)
			{
				num ^= this.WolfBroInfo.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600F0C8 RID: 61640 RVA: 0x002828AD File Offset: 0x00280AAD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600F0C9 RID: 61641 RVA: 0x002828B5 File Offset: 0x00280AB5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600F0CA RID: 61642 RVA: 0x002828C0 File Offset: 0x00280AC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.Retcode);
			}
			if (this.wolfBroInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.WolfBroInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600F0CB RID: 61643 RVA: 0x00282918 File Offset: 0x00280B18
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.wolfBroInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.WolfBroInfo);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600F0CC RID: 61644 RVA: 0x00282970 File Offset: 0x00280B70
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(WolfBroGamePickupBulletScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.wolfBroInfo_ != null)
			{
				if (this.wolfBroInfo_ == null)
				{
					this.WolfBroInfo = new WolfBroInfo();
				}
				this.WolfBroInfo.MergeFrom(other.WolfBroInfo);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600F0CD RID: 61645 RVA: 0x002829D8 File Offset: 0x00280BD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600F0CE RID: 61646 RVA: 0x002829E4 File Offset: 0x00280BE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 74U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.wolfBroInfo_ == null)
						{
							this.WolfBroInfo = new WolfBroInfo();
						}
						input.ReadMessage(this.WolfBroInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005F05 RID: 24325
		private static readonly MessageParser<WolfBroGamePickupBulletScRsp> _parser = new MessageParser<WolfBroGamePickupBulletScRsp>(() => new WolfBroGamePickupBulletScRsp());

		// Token: 0x04005F06 RID: 24326
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005F07 RID: 24327
		public const int WolfBroInfoFieldNumber = 9;

		// Token: 0x04005F08 RID: 24328
		private WolfBroInfo wolfBroInfo_;

		// Token: 0x04005F09 RID: 24329
		public const int RetcodeFieldNumber = 1;

		// Token: 0x04005F0A RID: 24330
		private uint retcode_;
	}
}
